package com.mgg.auth.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @Author: lijun
 * @Date: 2018/9/3 15:13
 */
@ConfigurationProperties(prefix = "mgg.security")
public class SecurityProperties {

	private OAuth2Properties oauth2 = new OAuth2Properties();

	private SocialProperties social = new SocialProperties();

	private ValidateCodeProperties code = new ValidateCodeProperties();

	public ValidateCodeProperties getCode() {
		return code;
	}

	public void setCode(ValidateCodeProperties code) {
		this.code = code;
	}

	public OAuth2Properties getOauth2() {
		return oauth2;
	}

	public void setOauth2(OAuth2Properties oauth2) {
		this.oauth2 = oauth2;
	}

	public SocialProperties getSocial() {
		return social;
	}

	public void setSocial(SocialProperties social) {
		this.social = social;
	}

}

